.posts-expand {
  padding-top: 40px;

  +mobile() {
    margin: 0 20px;
  }
}

.post-body {
  +desktop() {
    text-align: unquote(hexo-config('text_align.desktop'));
  }

  +tablet-mobile() {
    text-align: unquote(hexo-config('text_align.mobile'));
  }

  h1, h2, h3, h4, h5, h6 {
    padding-top: 10px;

    .header-anchor {
      border-bottom-style: none;
      color: $grey-light;
      float: right;
      margin-left: 10px;
      visibility: hidden;

      &:hover {
        color: inherit;
      }
    }

    &:hover .header-anchor {
      visibility: visible;
    }
  }

  iframe, img, video {
    margin-bottom: 20px;
  }

  .video-container {
    height: 0;
    margin-bottom: 20px;
    overflow: hidden;
    padding-top: 75%;
    position: relative;
    width: 100%;

    iframe, object, embed {
      height: 100%;
      left: 0;
      margin: 0;
      position: absolute;
      top: 0;
      width: 100%;
    }
  }
}

// 文章图文并排定制
.post-body .head_img a.fancybox {
  border-bottom: none;
  flex: 1 2 auto;
   +mobile-small() {
     flex: 1 1 40%;
   }
  }
.post-body .head_img span.head_img_desp {
    flex:1 1 100%;
    position: relative;
    top: 20px;
    font-size:18px;
    +mobile-small() {
        top: -8px;
        font-size: 13px;        
   }
   +mobile(){
      top: -8px;
      font-size: 13px;        
   }
   +desktop-init(){
      top: 0px;
      font-size: 15px;      
   }
   +desktop(){
      top: 5px;
      font-size: 18px;        
   }
  }
